package com.scu.hotelsystem.service;

import com.scu.hotelsystem.pojo.Room;
import com.scu.hotelsystem.util.search.RoomSearch;

import java.util.List;

public interface RoomService {
    List<Room> searchRoomList(RoomSearch roomSearch, int index, int limit);

    int addRoom(Room room);

    Room searchRoomById(int id);

    int updateRoom(Room room);

    int deleteRoom(int[] idList);
}
